home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Musik / Misc / Amster / Source / include / msg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-01  |  588 b   |  37 lines

  1. /*
  2. ** Message Header
  3. */
  4.  
  5. #include <sys/types.h>
  6.  
  7. #include "include/mui.h"
  8.  
  9. #ifndef AMSTER_MSG_H
  10. #define AMSTER_MSG_H
  11.  
  12. struct msgdata {
  13.     u_long *msglist;
  14.     u_long *msgstr;
  15. };
  16.  
  17. struct ChatMessage {
  18.     char TStamp[11];
  19.     char *Nick;
  20.     char *Msg;
  21. };
  22.  
  23. MUIF msg_dispatch(REG(a0) struct IClass *cl,REG(a2) Object *obj,REG(a1) Msg msg);
  24.  
  25. #define MSG_OPEN   0x4001
  26. #define MSG_GOT    0x4002
  27. #define MSG_SAY    0x4003
  28. #define MSG_WHOIS  0x4004
  29. #define MSG_WHOWAS 0x4005
  30.  
  31. extern void msg_got(struct msgdata *data, char *nick, char *msg);
  32. extern void msg_gotwhois(char *buf);
  33.  
  34.  
  35.  
  36. #endif    /* AMSTER_MSG_H */
  37.